#
# Be sure to run `pod lib lint PBHome.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'PBHome'
  s.version          = '0.1.0'
  s.summary          = 'A short description of PBHome.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/clh2046_admin/PBHome'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'clh2046@163.com' => 'clh2046@163.com' }
  s.source           = { :git => 'https://gitee.com/clh2046_admin/PBHome.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'

  s.source_files = 'PBHome/Classes/**/*.h'
  s.public_header_files = 'PBHome/Classes/**/*.h'
  # s.resource_bundles = {
  #   'PBHome' => ['PBHome/Assets/*.png']
  # }
   # s.frameworks = 'UIKit', 'MapKit'
   s.dependency 'BaseCode'
   s.dependency 'ServiceCode'
   s.dependency 'CLHComponents'
   
   s.subspec 'BaseAnimation' do |baseAnimation|
       baseAnimation.source_files = 'PBHome/Classes/BaseAnimation/**/*'
       baseAnimation.public_header_files = 'PBHome/Classes/BaseAnimation/**/*.h'
   end
   
   s.subspec 'Components' do |components|
       components.source_files = 'PBHome/Classes/Components/**/*'
       components.public_header_files = 'PBHome/Classes/Components/**/*.h'
   end
   
   s.subspec 'Home' do |home|
       home.source_files = 'PBHome/Classes/Home/**/*'
       home.public_header_files = 'PBHome/Classes/Home/**/*.h'
   end
   
   s.subspec 'KeyframeAnimation' do |keyframeAnimation|
       keyframeAnimation.source_files = 'PBHome/Classes/KeyframeAnimation/**/*'
       keyframeAnimation.public_header_files = 'PBHome/Classes/KeyframeAnimation/**/*.h'
   end
   
   s.subspec 'Lottie_iosAnimation' do |lottieiosAnimation|
       lottieiosAnimation.source_files = 'PBHome/Classes/Lottie_iosAnimation/**/*'
       lottieiosAnimation.public_header_files = 'PBHome/Classes/Lottie_iosAnimation/**/*.h'
   end
   
   
   s.subspec 'SpringAnimation' do |springAnimation|
       springAnimation.source_files = 'PBHome/Classes/SpringAnimation/**/*'
       springAnimation.public_header_files = 'PBHome/Classes/SpringAnimation/**/*.h'
   end
   
   s.subspec 'TransitionAnimation' do |transitionAnimation|
       transitionAnimation.source_files = 'PBHome/Classes/TransitionAnimation/**/*'
       transitionAnimation.public_header_files = 'PBHome/Classes/TransitionAnimation/**/*.h'
   end
   s.subspec 'UserInterface' do |userInterface|
       userInterface.source_files = 'PBHome/Classes/UserInterface/**/*.swift'
       userInterface.public_header_files = 'PBHome/Classes/UserInterface/**/*.h'
   end
   
end
